package cn.kimming.wms.service;

import java.util.List;

import cn.kimming.wms.domain.Employee;
import cn.kimming.wms.query.QueryObject;

public interface IEmployeeService {
	void save(Employee e);

	void update(Employee e);

	void delete(Long id);

	Employee get(Long id);

	List<Employee> list();
	
	List<Employee> query(QueryObject qo);
	
	/**
	 * 用户登录
	 * @param username 用户名
	 * @param password 密码
	 */
	void login(String username, String password);
}
